﻿using System;
using System.ComponentModel.DataAnnotations;
using Sharp.Platform.Mvc.Models;

namespace Sharp.WebBooter.Areas.CMS.Models
{
    public class GatherViewModel : BaseViewModel
    {
        public Guid Id { get; set; }
        [Required]
        public string Name { get; set; }
        [Required]
        public string StartUrl { get; set; }
        public string CategoryArea { get; set; }
        public string ContentTitle { get; set; }
        public string UpdateTime { get; set; }
        public string ComeFrom { get; set; }
        public string Author { get; set; }
        public string Content { get; set; }
        public string ContentPageUrl { get; set; }
        public string FullArticleUrl { get; set; }
        public string CategoryPageNextUrl { get; set; }
        public string ContentPageNextUrl { get; set; }
        public string IgnoreUrl { get; set; }
        public string Filter { get; set; }
        public string Replace { get; set; }
        public bool CanDownImg { get; set; }
        public bool DrawWaterMark { get; set; }
        public int IsSpider { get; set; }
        public string ContentPageRule { get; set; }
        public System.DateTime? LastWork { get; set; }
        public bool IsChecked { get; set; }
        public bool CanDrawWaterMark { get; set; }
        public Guid? ParentId { get; set; }
        public string Encoding { get; set; }
        public string SpiderDomains { get; set; }
    }
}